The 20 Games Challenge
Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Back to homepage

Dig Dug

Dig Dug is a “strategic mining game” released by Namco in 1982. This arcade game featured the very cute premise that you can kill animals by inserting a bicycle pump under their skin, then inflating them until they pop like a balloon!



  • Create a tile-based level. The world is made of dirt tiles (with different colors for different layers).
  • Create the protagonist. You can walk and dig up, down, left, or right. Digging into a tile will destroy it, turning it into an air tile.
  • Create enemies. They will spawn in open spaces (3-5 connected tiles) and will walk back and forth in their spaces.
    • Every now and then, an enemy will “burrow” towards the player, turning into a pair of eyes as they move through the dirt. Enemies will stop burrowing when they reach an air tile.
  • Create rocks. When the tile below a rock is dug out, the rock will shake for a second, then will fall. It will kill anyone that it collides with (including the player).
  • Give the player an “air pump” weapon. They will shoot a hose in the direction that they are facing. If it connects with an enemy, the enemy will swell up and explode.
  • Add a score counter, a life counter, and a level counter. Enemies will get faster with each level.

Stretch goal:

  • Create a starting animation for the game. Dig Dug will start on the surface and burrow down into the center of the level before the game starts.

You’re not the first person to attempt this challenge! Check out some completed games below!

  • Ok, you might be the first person to try this ¯\(ツ)/¯ Share your progress to start the showcase!

Don’t forget to share your progress on the community discord!

I’ll periodically update this section with community submissions. Feel free to message me if you want yours to be included. You can also open a pull request yourself to add your game, or someone else’s.